package com.yike.product.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品表
 *
 * @author yike
 * @since 2024-07-17
 */
@Data
@Accessors(chain = true)
public class QueryGoodsByBarcodeParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotNull(message = "店铺ID不能为空")
    @ApiModelProperty(value = "店铺ID", required = true)
    private Long shopId;

    @NotBlank(message = "商品条码不能为空")
    @ApiModelProperty(value = "商品条码", required = true)
    private String barcode;
}
